import Vue from 'vue'
import App from './App'
import uView from "@/wxcomponents/uview-ui";
import BASE_URL, {sendRequest, getDictList, selectDictLabel} from './static/js/api'

Vue.use(uView);
Vue.config.productionTip = false

Vue.prototype.iconUrl = 'https://guzi-tax-test.oss-cn-beijing.aliyuncs.com/wx-icon/';
Vue.prototype.baseUrl = BASE_URL;

//全局挂载
Vue.prototype.$sendRequest = sendRequest;
Vue.prototype.$getDictList = getDictList;
Vue.prototype.$selectDictLabel = selectDictLabel;

App.mpType = 'app';

const app = new Vue({
  ...App
});
app.$mount();



